package gui;

import org.eclipse.swt.graphics.GC;
import org.eclipse.swt.widgets.Canvas;

public class Parallelogram extends Shape{
	@Override
	public void DrawShape(Canvas canvas){	
		GC gc = new GC(canvas);
		gc.drawLine(110,80 ,120 , 10);
		gc.drawLine(120 , 10 ,200 , 10);
		gc.drawLine(200 , 10 , 190 , 80);
		gc.drawLine(200 , 10 ,200 , 90);
		gc.drawLine(200 , 90 ,190 , 160);
		gc.drawRectangle(110, 80, 80, 80);
		gc.dispose();				
	}	
}

